package com.nuoyuan.wx.service.respcode;

public enum ProductRespCodeEnum {

	ADD_PRODUCT_FAIL("0001", "新增产品失败"),
	MOD_PRODUCT_FAIL("0002", "修改产品失败"),
	ANNUAL_YIELD_DATA_ERROR("0003", "年化收益率数据异常");
	
    private String code;
    private String msg;

    public String getCode() {
        return BizTypeEnum.PRODUCT.getCode() + code;
    }

    public String getMsg() {
        return msg;
    }

    ProductRespCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
